From c87be0a27a346bc71855291e71cef57db29bf3d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Fri, 5 May 2017 12:46:19 +0200 Subject: [PATCH] widget: Don't set the allocation in size-allocate If widgets chain up in their size-allocate implementation, they pass the content allocation and not the widget allocation which will cause the wrong allocation to be set. --- gtk/gtkwidget.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index cb1048e222..64cbcf17a6 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -5860,8 +5860,6 @@ gtk_widget_real_size_allocate (GtkWidget *widget, { GtkWidgetPrivate *priv = widget->priv; - gtk_widget_set_allocation (widget, allocation); - if (_gtk_widget_get_realized (widget) && _gtk_widget_get_has_window (widget)) { -- 2.30.2